<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="copyright" content="http://www.appcms.org" />
<script src="js/zy_control.js"></script>
<script src="js/zy_click.js"></script>
<script src="js/zy_event.js"></script>
<style>
	*{
		margin: 0;
		padding:0;
	}
	#main{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		min-height: 100%;
		overflow: hidden;
	};
</style>
</head>
<body ontouchstart>
<div id="main" ontouchstart="zy_touch('act')" onclick="_toggleMenu();"></div>
</body>
<script>
	zy_init();
	window.uexOnload = function(type){
		if (!type) {
			$$("main").gesture=new zyEvent("main",
							function(me,dx,dy){//移动过程中事件
								
							},
							function(me,dx,dy,t){//手指松开后事件
								if (t == "left") {
									_toggleMenu();
								}
							},false,function(e)//对象动画结束事件
							{
								//alert('对象动画结束事件');
							});
		}
	}
	
	function _toggleMenu(){
		var id = localStorage['meun_simple'];
		uexWindow.evaluateScript(id,0,"toggleMenu();");
	}
	
</script>
</html>